package com.apiConfig;

import com.alibaba.dubbo.common.extension.ExtensionFactory;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
import com.alibaba.dubbo.rpc.Protocol;

/**
 * Created by pengfei on 16/7/9.
 */
public class Test {
    public static void main(String[] args) {
        ExtensionLoader loader = ExtensionLoader.getExtensionLoader(Protocol.class);
        Object factory = loader.getAdaptiveExtension();
    }
}
